let routes = [
    {
        path: '/',
        redirect: '/login',
        component: () => import('../view/login'),
        meta: { isNav: false, }
    }, {
        path: '/layout',
        component: () => import("../view/login"),
        meta: { isNav: false, }
    },
    {
        path: '/layout',
        component: () => import("../view/layout"),
        meta: { isNav: true, }
    }
]
export default routes
export function navBar() {
    return routes.filter((item => {
        // return if (item.meta.isNav)
    }))
}